﻿using Volo.Abp.Domain;
using Volo.Abp.Application.Dtos;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Volo.Abp.Application.Services
{

    public interface ICreateAppService<TEntityDto>
        : ICreateAppService<TEntityDto, TEntityDto>
    {

    }
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="TCreateInputDto"></typeparam>
    /// <typeparam name="TCreateResultOutputDto"></typeparam>
    public interface ICreateAppService<TCreateResultOutputDto
        , in TCreateInputDto> : IApplicationService
    {
        Task<ResultDto<TCreateResultOutputDto>> CreateAsync(TCreateInputDto dto);
    }

}
